package com.qen.socket

import cn.hutool.core.lang.Console
import cn.hutool.http.webservice.SoapClient

fun main() {
    val client = SoapClient.create("http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx")
        .setMethod("web:getCountryCityByIp", "http://WebXml.com.cn/")
        .setParam("theIpAddress", "218.21.240.106")
    Console.log(client.send(true))
}
